<template>
  <div>
    <h1 @click="handleClick">{{con}}</h1>
  </div>
</template>

<script setup>
import { ref } from 'vue';
const con = ref('你好世界')
const handleClick = () => {
  con.value = 'HelloWord'
}
</script>

<style scoped>

</style>